var mongoose = require('mongoose');
var materializedPlugin = require('mongoose-paginate');


var schema = new mongoose.Schema({
    src:String,
    price:String,
    detail:String,
    name:String,
    
});
console.log(2);
schema.plugin(materializedPlugin);

module.exports =  mongoose.model('Latiao',  schema); // Model.paginate()
